package Models;

import static Data.C.TILE_TYPE;

/**
 * Created by Dennis Mariman on 03/01/14.
 */
public class Tile {
    private final int xPosition;
    private final int yPosition;
    private GameObject[] contains;
    private boolean hasFog;

    private final TILE_TYPE center;
    private String topRight;
    private String right;
    private String bottomRight;
    private String bottomLeft;
    private String left;
    private String topLeft;

    public Tile(int x, int y, TILE_TYPE t) {
        xPosition = x;
        yPosition = y;
        center = t;
        hasFog = true;
    }

    public void Defog() {
        topRight = center + "_";
        right = center + "_";
        bottomRight = center + "_";
        bottomLeft = center + "_";
        left = center + "_";
        topLeft = center + "_";
        hasFog = false;
    }
}
